package bluetooth;

import java.io.IOException;

import lejos.robotics.navigation.Move;

public class ProtocolTest {

	/**
	 * @param args
	 * @throws InterruptedException 
	 * @throws IOException 
	 */
	public static void main(String[] args) throws InterruptedException, IOException {
		ProtocolPilot pilot = new ProtocolPilot();
		Move move = pilot.getMovement();
		while(true)
		{
			System.out.println("Sonar tacho = " + pilot.getSonarTachoCount());
			System.out.println("Sonar distance = " + pilot.getSonarDistance());
		}
	}

}
